package org.yibinxueyuan.drawcard.service;

import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;

/**
 * 处理登录相关事务
 */
public interface HandleLogin {

    /**
     * 验证登录
     * @param mailbox
     * @param password
     * @throws AuthenticationException
     */
    public void VerificationLogin(String mailbox, String password)throws AuthenticationException;


}
